/* Fallback imediato para evitar FOUT */
:root, body, .nh-content, .nh-title, .nh-desc {
    font-family: var(--ap-font) !important;
}


/* =========================
   RESET
========================= */
html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    background: #0b0b0b;
    color: #fff;
}

/* Remove efeitos desnecessários */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: none;
}

/* =========================
   HERO
========================= */
.nh-hero {
    width: 100%;
    min-height: 100vh;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Overlay simples e elegante */
.nh-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,var(--overlay-opacity));
}

/* =========================
   CONTEÚDO
========================= */
.nh-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 40px 16px;
    text-align: center;
}

/* =========================
   TÍTULO / SUBTÍTULO
========================= */
.nh-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #2bd4c6;
}

.nh-desc {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 28px;
}

/* =========================
   BOTÕES
========================= */
.nh-button {
    display: flex;                 /* 🔥 transforma o <a> em um bloco REAL de botão */
    align-items: center;           /* centraliza verticalmente */
    justify-content: center;       /* centraliza horizontalmente */
    gap: 8px;                      /* espaçamento entre ícone e texto */
    
    width: 100%;                   /* botão ocupa 100% da largura */
    padding: 18px;

    background: var(--wa-color);   /* cor dinâmica (WhatsApp ou Telegram) */
    color: #fff;
    font-size: 1rem;
    font-weight: 600;

    border-radius: 10px;
    margin-bottom: 12px;
    text-decoration: none;         /* remove sublinhado */
    cursor: pointer;

    user-select: none;             /* impede seleção do texto */
    -webkit-tap-highlight-color: transparent; /* UX melhor no mobile */
}



/* WhatsApp */
.nh-whatsapp {
    background: var(--wa-color);
}

/* Telegram */
.nh-telegram {
    background: var(--tg-color);
}

/* =========================
   INFO
========================= */
.nh-badge-speed {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #2bd4c6;
}

.nh-badge-security {
    margin-top: 6px;
    font-size: 0.8rem;
    opacity: 0.75;
}

/* =========================
   FOOTER
========================= */
.nh-footer {
    font-size: 0.7rem;
    opacity: 0.65;
    margin-top: 20px;
    line-height: 1.4;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {
    .nh-button {
        padding: 20px;
        font-size: 1.05rem;
    }
}


/* =========================
   FIX — BOTÃO 100% CLICÁVEL
   (sem quebrar nada existente)
========================= */

/* Caso o HTML tenha <div class="nh-button"><a>...</a></div> */
.nh-button a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    width: 100% !important;
    height: 100% !important;
    padding: inherit !important;      /* usa o padding do botão */
    border-radius: inherit !important;
    color: inherit !important;
    text-decoration: none !important;
}

/* ==========================================
   OTIMIZAÇÃO REAL PARA TABLETS E TELAS GRANDES
   (iPad, iPad Pro, tablets Android, Chromebooks)
========================================== */

/* Telas ≥ 768px — começa a expandir tipografia */
@media (min-width: 768px) {
    .nh-title {
        font-size: 1.6rem;
    }
    .nh-desc {
        font-size: 1.1rem;
    }
    .nh-button {
        padding: 22px;
        font-size: 1.15rem;
    }
}

/* Telas ≥ 1024px — iPad Pro, notebooks pequenos */
@media (min-width: 1024px) {

    /* Conteúdo */
    .nh-content {
        max-width: 720px;
        padding-top: 80px;
    }

    /* Tipografia */
    .nh-title {
        font-size: 1.8rem;
    }
    .nh-desc {
        font-size: 1.2rem;
    }
    .nh-button {
        padding: 24px;
        font-size: 1.2rem;
    }
    .nh-badge-speed,
    .nh-badge-security {
        font-size: 1rem;
    }

    /* Ajuste do fundo */
    .nh-hero {
        background-position: top center;
        background-size: 140% auto; /* aumenta o zoom horizontalmente */
    }
}

/* Telas ≥ 1366px — iPad Pro Landscape, TVs, monitores grandes */
@media (min-width: 1366px) {

    /* Conteúdo */
    .nh-content {
        max-width: 800px;
        padding-top: 100px;
    }

    /* Tipografia */
    .nh-title {
        font-size: 2rem;
    }
    .nh-desc {
        font-size: 1.25rem;
    }
    .nh-button {
        padding: 26px;
        font-size: 1.25rem;
    }

    /* Ajuste adicional do fundo */
    .nh-hero {
        background-position: center top;
        background-size: 120% auto;
    }
}

